/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package book.test;

/**
 *
 * @author Administrator
 */
public class Player {
    private int score;
    public static int count;
    public void join(){
        count++;
    }
    public void add(int score){
        this.score = this.score + score;
    }
    public void display(){
        System.out.println(score);
    }
    public static void getCount(){
        System.out.println("参赛选手的总人数是:"+count);
    }

}
